<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2023/6/2
  Time: 8:34
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
  <meta charset="UTF-8">
    <title>登录</title>
  <link rel="stylesheet" href="css/table.css" type="text/css">
  <link rel="stylesheet" href="css/login.css" type="text/css">

  <style>
    a{
      font-size: 12px;
      text-decoration: none;
    }
  </style>
</head>
<body>

<form action="${pageContext.request.contextPath}/loginServlet" method="post">
  <div class="da">
  <div class="top">
  <h1>登录</h1>
  </div>
  <div class="low">
  <table>
    <tr>
      <td class="left"><label for="username">账号</label></td>
      <td class="right">
        <input type="text" name="username" id="username" placeholder="请输入账号">
      </td>
    </tr>
    <tr>
      <td class="left">
        <label for="password">密码</label>
      </td>
      <td class="right">
        <input type="password" id="password" name="password" placeholder="请输入密码">
      </td>
    </tr>
    <tr>
      <td colspan="2" class="login">
        <input type="submit" value="登录">
      </td>
    </tr>
    <tr>
      <td colspan="2">
        <span>${login_msg}</span>
      </td>
    </tr>
    <tr>
      <td colspan="2">
        <a href="register.jsp" >没有账号？请先注册</a>
      </td>
    </tr>
  </table>
 </div>

  </div>
</form>
</body>
</html>
